﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class UserManage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["userinfo"] != null && Session["IsAdmin"].ToString() != "True")
        {
            UserManagePage.InnerHtml = "只有管理员才能修改工作项目";
        }
        else if (Session["userinfo"] == null)
        {
            UserManagePage.InnerHtml = "请先登录！";
        }
    }
   
}
